<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.ajax4jsf.org/rich"
      xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
      xmlns:t="http://myfaces.apache.org/tomahawk">

<ui:composition template="/layouts/application.xhtml">


<ui:define name="main_content_title">
	<h:outputText value="#{bean.titulo} :: Excluindo"></h:outputText>
</ui:define>

<ui:define name="main_content">

	<h:form id="formExcluir">		
       	<div id="form-compl">
			<ui:insert name="CAMPOS">
				Insira aqui os campos do formulário
			</ui:insert>
		</div>

		<br />
		
		<t:saveState value="#{bean.dadosPesquisa}"/>  
		<t:saveState value="#{bean.dadosForm}"/>  
					
		<h:commandButton action="#{bean.excluir}" styleClass="enviar" value="Excluir"  immediate="true">
			<f:setPropertyActionListener value="#{bean.dadosForm}" target="#{bean.dadosForm}"/>	
		</h:commandButton>
		<h:commandButton action="#{bean.exibirPesquisa}" styleClass="enviar" value="Cancelar" immediate="true"></h:commandButton>

		
	</h:form>
	
	<ui:insert name="MODAL_PANEL">
	
	</ui:insert>
	
</ui:define>

</ui:composition>

</html>
